package com.sabastian.springframework.test.event;

import com.sabastian.springframework.context.ApplicationListener;
import com.sabastian.springframework.context.event.ContextClosedEvent;

/**
 * @author Ciel Phantomhive
 * @description
 * @date 2023/1/26 14:47
 */
public class ContextClosedEventListener implements ApplicationListener<ContextClosedEvent> {

    @Override
    public void onApplicationEvent(ContextClosedEvent event) {
        System.out.println("关闭事件：" + this.getClass().getName());
    }

}
